<?php
/*************************************门店信息*************************************/
//管理中心
Route::get('shop-author-admin', ['as' => 'shop_author_admin', 'uses' => 'AuthorController@admin']);
//维修店管理中心
Route::get('shop-author-repairStoreDetail', ['as' => 'admin_author_repairStoreDetail', 'uses' => 'AuthorController@repairStoreDetail']);
//管理员编辑管理中心
Route::post('shop-author-repairUpdate', ['as' => 'shop_author_repairUpdate', 'uses' => 'AuthorController@repairUpdate']);
//检测机构管理中心
Route::get('shop-author-checkpointDetail', ['as' => 'shop_author_checkpointDetail', 'uses' => 'AuthorController@checkpointDetail']);
//管理员编辑管理中心
Route::post('shop-author-checkUpdate', ['as' => 'shop_author_checkUpdate', 'uses' => 'AuthorController@checkUpdate']);

/*************************************门店服务商品列表*************************************/
Route::get('shop-repair-goodsList', ['as' => 'shop_repair_goodsList', 'uses' => 'RepairstoreController@goodsList']);//维修店(商品)列表
Route::get('shop-repair-create', ['as' => 'shop_repair_create', 'uses' => 'RepairstoreController@create']);//添加商品
Route::post('shop-repair-store', ['as' => 'shop_repair_store', 'uses' => 'RepairstoreController@store']);//添加商品
Route::get('shop-repair-edit', ['as' => 'shop_repair_edit', 'uses' => 'RepairstoreController@edit']);//编辑商品
Route::post('shop-repair-update', ['as' => 'shop_repair_update', 'uses' => 'RepairstoreController@update']);//编辑商品
Route::put('shop-repair-delPic', ['as' => 'shop_repair_delPic', 'uses' => 'RepairstoreController@delPic']);//删除商品图片
Route::delete('shop-repair-del', ['as' => 'shop_repair_del', 'uses' => 'RepairstoreController@del']);//删除
/*Route::get('shop-repair-look', ['as' => 'shop_repair_look', 'uses' => 'RepairstoreController@look']);//查看*/

/*************************************门店技师*************************************/
Route::get('shop-master-index', ['as' => 'shop_master_index', 'uses' => 'ShopMasterController@index']);//列表
Route::get('shop-master-create', ['as' => 'shop_master_create', 'uses' => 'ShopMasterController@create']);//添加
Route::post('shop-master-store', ['as' => 'shop_master_store', 'uses' => 'ShopMasterController@store']);//添加
Route::get('shop-master-edit', ['as' => 'shop_master_edit', 'uses' => 'ShopMasterController@edit']);//编辑
Route::post('shop-master-update', ['as' => 'shop_master_update', 'uses' => 'ShopMasterController@update']);//编辑
Route::delete('shop-master-delete', ['as' => 'shop_master_delete', 'uses' => 'ShopMasterController@delete']);//删除

/*************************************门店商品*************************************/
Route::get('shop-goods-index', ['as' => 'shop_goods_index', 'uses' => 'GoodsController@index']);//列表
Route::get('shop-goods-create', ['as' => 'shop_goods_create', 'uses' => 'GoodsController@create']);//添加
Route::post('shop-goods-store', ['as' => 'shop_goods_store', 'uses' => 'GoodsController@store']);//添加
Route::get('shop-goods-edit', ['as' => 'shop_goods_edit', 'uses' => 'GoodsController@edit']);//编辑
Route::post('shop-goods-update', ['as' => 'shop_goods_update', 'uses' => 'GoodsController@update']);//编辑
Route::delete('shop-goods-del', ['as' => 'shop_goods_del', 'uses' => 'GoodsController@del']);//删除
Route::put('shop-goods-changeState', ['as' => 'shop_goods_changeState', 'uses' => 'GoodsController@changeState']);//上下架
Route::post('shop-goods-delProduct', ['as' => 'shop_goods_delProduct', 'uses' => 'GoodsController@delProduct']);//删除商品规格属性
Route::post('shop-goods-delPic', ['as' => 'shop_goods_delPic', 'uses' => 'GoodsController@delPic']);//删除商品图片
//根据句条件获取服务的二级分类(ajax二级联动)
Route::get('shop-maintain-list', ['as' => 'shop_maintain_list', 'uses' => 'GoodsController@get_maintain_list']);

/*************************************规格列表*************************************/
Route::get('shop-goods-specs-cate-index', ['as' => 'shop_goods_specs_cate_index', 'uses' => 'GoodsSpecsCateController@index']);//列表
Route::get('shop-goods-specs-cate-create', ['as' => 'shop_goods_specs_cate_create', 'uses' => 'GoodsSpecsCateController@create']);//添加
Route::post('shop-goods-specs-cate-store', ['as' => 'shop_goods_specs_cate_store', 'uses' => 'GoodsSpecsCateController@store']);//添加
Route::get('shop-goods-specs-cate-edit', ['as' => 'shop_goods_specs_cate_edit', 'uses' => 'GoodsSpecsCateController@edit']);//编辑
Route::post('shop-goods-specs-cate-update', ['as' => 'shop_goods_specs_cate_update', 'uses' => 'GoodsSpecsCateController@update']);//编辑
Route::delete('shop-goods-specs-cate-del', ['as' => 'shop_goods_specs_cate_del', 'uses' => 'GoodsSpecsCateController@del']);//删除

/*************************************门店保养配置*************************************/
Route::get('shop-maintain-shop-index', ['as' => 'shop_maintain_shop_index', 'uses' => 'MaintainShopController@index']);
//门店添加保养配置
Route::get('shop-maintain-shop-create', ['as' => 'shop_maintain_shop_create', 'uses' => 'MaintainShopController@create']);
Route::post('shop-maintain-shop-store', ['as' => 'shop_maintain_shop_store', 'uses' => 'MaintainShopController@store']);
//门店编辑保养配置
Route::get('shop-maintain-shop-edit', ['as' => 'shop_maintain_shop_edit', 'uses' => 'MaintainShopController@edit']);
Route::post('shop-maintain-shop-update', ['as' => 'shop_maintain_shop_update', 'uses' => 'MaintainShopController@update']);
Route::delete('shop-maintain-shop-delete', ['as' => 'shop_maintain_shop_delete', 'uses' => 'MaintainShopController@delete']);//删除
//根据句条件获取服务的二级分类(ajax二级联动)
Route::get('shop-get-maintain-list', ['as' => 'shop_get_maintain_list', 'uses' => 'MaintainShopController@get_maintain_list']);
//获取汽车品牌列表
Route::get('shop-maintain-vehicle', ['as' => 'shop_maintain_vehicle', 'uses' => 'MaintainShopController@maintain_vehicle']);
//获取指定品牌下的汽车分类
Route::get('shop-get-vehicle-child', ['as' => 'shop_get_vehicle_child', 'uses' => 'MaintainShopController@get_vehicle_child']);
//创建
Route::post('shop-add-maintain-vehicle', ['as' => 'shop_add_maintain_vehicle', 'uses' => 'MaintainShopController@add_maintain_vehicle']);

/*************************************普通商品订单*************************************/
Route::get('shop-store-order-index', ['as' => 'shop_store_order_index', 'uses' => 'StoreOrderController@index']); //普通商品订单
Route::get('shop-store-order-detail', ['as' => 'shop_store_order_detail', 'uses' => 'StoreOrderController@detail']);//订单详情
Route::delete('shop-store-order-delete', ['as' => 'shop_store_order_delete', 'uses' => 'StoreOrderController@delete']);//删除
Route::post('shop-store-order-send-goods', ['as' => 'shop_store_order_send_goods', 'uses' => 'StoreOrderController@sendGoods']);//快速发货
Route::post('shop-store-order-chang-status', ['as' => 'shop_store_order_chang_status', 'uses' => 'StoreOrderController@changStatus']);//订单处理操作
Route::get('shop-export-order', ['as' => 'shop_export_order', 'uses' => 'StoreOrderController@export']);//普通商品订单列表导出EXCEL

/*************************************积分商品订单*************************************/
Route::delete('shop-order-delete', ['as' => 'shop_order_delete', 'uses' => 'OrderController@delete']);//删除
Route::post('shop-order-chang-status', ['as' => 'shop_order_chang_status', 'uses' => 'OrderController@changStatus']);//积分商城订单模块（订单详情处理）
Route::post('shop-order-deliver-goods', ['as' => 'shop_order_deliver_goods', 'uses' => 'OrderController@deliverGoods']);//积分商城订单模块（快速发货）
Route::get('shop-order-integral', ['as' => 'shop_order_integral', 'uses' => 'OrderController@index_integral']);  //积分订单
Route::get('shop-order-details', ['as' => 'shop_order_details', 'uses' => 'OrderController@order_details']);  //订单详情
Route::get('shop-export-integral-order', ['as' => 'shop_export_integral_order', 'uses' => 'OrderController@export']);//积分商品订单列表导出EXCEL

/*************************************服务保养订单*************************************/
Route::get('shop-maintain-order-list', ['as' => 'shop_maintain_order_list', 'uses' => 'OrderRepairController@maintain_order_list']);//保养（订单列表）
Route::get('shop-order-repair', ['as' => 'shop_order_repair', 'uses' => 'OrderRepairController@index']);//服务（订单列表）
Route::get('shop-order-repair-detail', ['as' => 'shop_order_repair_detail', 'uses' => 'OrderRepairController@detail']);//服务订单模块(订单 详情)
Route::delete('shop-order-repair-del', ['as' => 'shop_order_repair_del', 'uses' => 'OrderRepairController@del']);//服务订单模块(订单 删除)
Route::post('shop-order-repair-chang-status', ['as' => 'shop_order_repair_chang_status', 'uses' => 'OrderRepairController@changStatus']);//服务订单模块(订单 状态处理)
Route::get('shop-export-repair-order', ['as' => 'shop_export_repair_order', 'uses' => 'OrderRepairController@export']);//服务订单列表导出EXCEL

/*************************************商品售后*************************************/
Route::get('shop-store-order-refund-list', ['as' => 'shop_store_order_refund_list', 'uses' => 'StoreOrderRefundController@order_refund_list']);//商品售后列表
Route::get('shop-store-order-refund-detail', ['as' => 'shop_store_order_refund_detail', 'uses' => 'StoreOrderRefundController@order_refund_detail']);//商品售后详情
Route::post('shop-store-order-refund-handle', ['as' => 'shop_store_order_refund_handle', 'uses' => 'StoreOrderRefundController@order_refund_handle']);//商品售后操作
Route::get('shop-store-order-refund-export', ['as' => 'shop_store_order_refund_export', 'uses' => 'StoreOrderRefundController@export']);//导出EXCEL






























